package com.lecyon.farm.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.lecyon.farm.base.RestResponse;
import com.lecyon.farm.entity.DataVerification;
import com.lecyon.farm.rest.IRestService;
import com.lecyon.farm.vo.add.AddDataVerificationVo;
import com.lecyon.farm.vo.export.ExportDataVerificationVo;
import com.lecyon.farm.vo.modify.ModifyDataVerificationVo;
import com.lecyon.farm.vo.query.QueryDataVerificationVo;
import com.lecyon.farm.vo.status.StatusVo;
import com.lecyon.farm.vo.view.DataVerificationVo;

/**
 * 数据核检 Service
 *
 * @author YaoZheng
 * @since 2020-04-25
 */
public interface IDataVerificationService extends IRestService<AddDataVerificationVo, ModifyDataVerificationVo, DataVerification, QueryDataVerificationVo, DataVerificationVo, Page, StatusVo, ExportDataVerificationVo> {

    /**
     * 新增或者修改
     *
     * @param entity
     * @return
     */
    RestResponse<Long> insertOrUpdate(DataVerification entity);
}
